package com.mszlu.blog.service;


import com.mszlu.blog.dao.pojo.Admin;
import com.mszlu.blog.vo.Result;
import com.mszlu.blog.vo.params.UserPageParam;

public interface AdminService {

    Result addAdmin(Admin admin);

    Result updateAdmin(Admin admin);

    Result deleteAdmin(Long id);

    Result adminList(UserPageParam pageParam);

    Admin findAdminByUserName(String userName);

    Result resetPwd(Admin admin);
}
